package main

import "fmt"

type Mover interface {
	move()
}

type car struct {
	brand string
}
type dog struct {
	name string
}

func (d dog) move() {
	fmt.Println(d.name+"dog run")
}

func (c car) move()  {
	fmt.Println(c.brand+"car run")
}
//空接口表示任意类型
func show(a interface{})  {
	fmt.Printf("type:%T value:%v\n",a,a)
}